package com.shundr.shipper.frame.constant;

/**
 * 
 * LCommands api接口汇总类
 * 
 * @author larry 2015-4-10 下午2:35:14 
 * @version 1.0.0
 *
 */
public class LCommands {
	
	public static final String BASE_URL = "http://120.27.29.131:8080/shundrapi/";//正式
//	public static final String BASE_URL = "http://192.168.3.60:8080/shundrapi/";//测试
//	public static final String BASE_URL = "http://192.168.0.89:8080/shundrapi/";//测试
//	public static final String BASE_URL = "http://115.29.47.15:55550/shundrapi/";//测试(远程)
//	public static final String BASE_URL = "http://121.42.143.214:8080/shundrapi/";//测试testA
	/**
	 * user 登录
	 */
	public static final String USER_LOGIN = "user/getUserLogin";//登录接口
	public static final String USER_LOGOUT ="user/getUserLogout";
	public static final String CHECK_PHONE = "user/checkRegisterPhone";//检测手机号是否已注册
	public static final String GET_AUTH_CODE = "user/getCaptcha";//获取验证码
	public static final String CHECK_GETCAPTCHA = "user/checkCaptcha";//检查验证码是否匹配
	public static final String REGISTER = "user/registerUser";//注册
	public static final String RESETPSW = "user/resetUserPsw";//重置密码
	public static final String RESET_USER_OLDPSW = "user/resetUserOldPsw";//修改密码
	public static final String GET_CONFIRM_USERINFO = "user/getConfirmUserInfo";//验证旧密码
	public static final String UPDATE_USERPHONE = "user/updateUserPhone";//修改绑定手机
	public static final String COMMIT_COMPANY_AUTH_COMMIT = "user/companyTempValidation";// 提交企业认证信息
	public static final String COMMIT_COMPANY_RE_AUTH = "user/companyRevalidation";// 重新提交企业认证信息
	public static final String GET_COMPANY_INFO = "user/findCompanyInfo";//获取企业认证信息
	
	public static final String CHECK_IN = "user/checkIn";//签到接口
	public static final String GET_INTEGRAL_TOTAL = "user/findMyTotalIntegral";//个人总积分
	public static final String GET_INTEGRAL_DETAIL = "user/findMyIntegralDetail";//个人总积分详情
	public static final String GET_INTEGRAL_LIST = "user/findMyIntegralList";//个人总积分获得列表
	
	public static final String APPLY_EXCHANGE = "user/exchangeIntergral";//申请兑换
	public static final String GET_EXCHANGE_LIST = "user/findMyExchangeIntergralList";//个人兑换列表
	
	public static final String INVITE_REGISTER = "user/inviteRegister";//邀请用户
	public static final String GET_INVITE_LIST = "user/findInviteList";//获取已邀请用户列表
	/**
	 * 获取认证状态
	 */
	public static final String GET_VALIDATION_STATUS = "user/getValidationStatus";//注册
	
	/**
	 * 得到可打电话次数
	 */
	public static final String GET_QueryNumValidationByUser = "user/getQueryNumValidationByUser";
	/**
	 * 得到电话号码
	 */
	public static final String GRAB_ORDER = "order/grabOrder";
	/**
	 * 定制路线
	 */
	public static final String GET_ROUTE_LIST = "truck/getTruckerRoutes";//获取长跑路线 
	public static final String ADD_ROUTE = "truck/addTruckerRoute";//添加长跑路线 
	public static final String DELETE_ROUTE = "truck/deleteTruckerRoute";//删除长跑路线
	public static final String DISABLE_ROUTES = "truck/disableTruckerRoutes";
	public static final String ENABLE_ROUTES = "truck/enableTruckerRoutes";
	/**
	 * 获取用户信息
	 */
	public static final String GET_USER_INFO = "user/getUserInfo";//用户信息接口
	/**
	 * 个人认证
	 */
	public static final String INDIVIDUALVALIDATION = "user/individualValidation";
//	public static final String COMMIT_DRIVER_AUTH_COMMIT = "user/individualTruckerValidation";//提交司机认证信息
	public static final String COMMIT_OWNER_AUTH_COMMIT = "user/individualOwnerValidation";//提交货主个人认证信息
	public static final String COMMIT_RE_AUTH_COMMIT = "user/individualRevalidation";//重新提交货主认证信息
	public static final String COMMIT_USER_HEAD = "user/updateUserHeadPicWithBase64";//修改头像
	/**
	 * uploadlist
	 */
	public static final String UPLOADLIST = "file/uploadlist";	
	/**
	 * 货源查询
	 */
//	public static final String GET_CARGO_LIST = "cargo/getSearchCargoList";	
	public static final String GET_CARGO_LIST = "cargo/getSearchCargoListFromApp";	
	/**
	 * 查询货源总数量，因为查询货源的时候已经可以返回总数量，这里只是单纯记录查询操作，可以不用处理返回
	 */
	public static final String GET_CARGO_LIST_NUM = "cargo/getSearchCargoListNum";
	/**
	 * 订单
	 */
	public static final String GET_ORDER_LIST = "order/getMyOrderList";
	/**
	 * 保存订单
	 */
	public static final String SAVE_OEDER = "order/saveOrder";
	/**
	 * 订单详情
	 */
	public static final String GET_ORDER_DETAILS = "order/getOrderDetailByOrderID";
	/**
	 * 确认/拒绝订单
	 */
	public static final String UPDATE_ORDER_STATUS = "order/updateOrderStatus";
	/**
	 * 货源详情
	 */
	public static final String GET_CARGO_INFO = "cargo/getCargoInfoByCargoId";
	/**
	 * 发布货源
	 */
	public static final String SUBMIT_CARGO = "cargo/batchRegisterCargo";
	/**
	 * 我的货源列表
	 */
	public static final String GET_MY_CARGO_LIST = "cargo/getSearchCargoListbyUser";
	/**
	 * 删除我的货源
	 */
	public static final String DELETE_MY_CARGO = "cargo/deleteCargobyCargoId";
	/**
	 * 重发货源
	 */
	public static final String RESEND_MY_CARGO = "cargo/resendCargo";
	/**
	 * 下架货源
	 */
	public static final String OFF_SHELF_CARGO = "cargo/confirmCargoStatusbyCargoId";
	/**
	 * 我的货源模板列表
	 */
	public static final String GET_CARGO_TEMPLATE_LIST = "cargo/getMyCargoTemplate";
	/**
	 * 删除我的发货模板
	 */
	public static final String DELETE_CARGO_TEMPLATE = "cargo/deleteMyCargoTemplateById";
	/**
	 * 车辆列表
	 */
	public static final String GET_TRUCK_LIST = "truck/getMyTruckList";
	/**
	 * 在途管理
	 */
	public static final String GET_TRUCK_MAP = "user/findLocationList";
	/**
	 * 删除车辆
	 */
	public static final String GET_TRUCK_INFO = "truck/getTruckInfoById";
	/**
	 * 增加车辆
	 */
	public static final String ADD_TRUCK = "truck/addTruckInfo"; 
	/**
	 * 修改车辆信息
	 */
	public static final String UPDATE_TRUCK = "truck/updateTruck";
	/**
	 * 发布空车
	 */
	public static final String PUBLISH_EMPTY_TRUCK = "truck/markUnusedTruckInfo";
	/**
	 * 删除车辆
	 */
	public static final String DELETE_MYTRUCK_BYID = "truck/deleteMyTruckById";	
	/**
	 * 更改车辆状态
	 */
	public static final String UPDATE_TRUCK_STATUS = "truck/updateTruckInfoStatus";	
	/**
	 * 熟车列表
	 */
	public static final String GET_FAM_TRUCK_LIST = "truck/getMyFamiliarTruckList";
	/**
	 * 查询熟车列表
	 */
	public static final String GET_SEARCH_FAM_TRUCK_LIST = "truck/getSearchTruckByPhoneAndPlant";
	/**
	 * 删除我的熟车车辆
	 */
	public static final String DELETE_FAM_TRUCK_BY_ID = "truck/deleteFamiliarTruckBytruckId";
	/**
	 * 添加熟车
	 */
	public static final String ADD_FAM_TRUCK = "truck/addTruckToFamiliar";
	/**
	 * 更新app
	 */
	public static final String GET_APPSYS_INFO = "user/getAppSysInfo";
	public static final String SAVE_OPERATE_HISTORY = "user/saveOperateHistory";
	
	/**
	 * 检查登录状态
	 */
	public static final String CHECK_LOGIN_STATUS="user/checkLoginStatus";
	/**
	 * 保存用户操作
	 */
	public static final String SAVE_APP_OPERATE="user/saveAppOperate";
	/**
	 * 意见反馈
	 */
	public static final String GIVE_ADVICE="user/giveAdvice";
	/**
	 * 获取浏览历史
	 */
	public static final String GET_HISTORY_LIST="user/getOperateHistoryListByType";
	/**
	 * 添加收藏
	 */
	public static final String ADD_FAVORITE="user/addFavorite";
	/**
	 * 收藏列表
	 */
	public static final String GET_FAVORITE_LIST="user/findFavoriteList";
	
	/**
	 * 取消收藏
	 */
	public static final String DELETE_FAVORITE="user/deleteFavorite";
	
	/**
	 * 上传地理位置
	 */
	public static final String UPLOAD_LOCATION="user/saveUserCurrentLocation";
	/**
	 * 获取系统消息列表
	 */
	public static final String GET_SYSTEM_MSG_LIST="user/findSystemMsgList";
	/**
	 * 获取推荐货源列表
	 */
	public static final String GET_RECOM_CARGO_LIST="user/findLocationRecommendInfoList";
	/**
	 * 获取首页图片
	 */
	public static final String GET_SPLASH_IMAGE="user/getSplashImage";
	/**
	 * 查询车源
	 */
	public static final String SEARCH_PERSONAL_TRUCK_LIST="truck/getSearchPersonalTruckForApp";
	/**
	 * 查询车源总数量
	 */
	public static final String SEARCH_PERSONAL_TRUCK_LIST_NUM="truck/getSearchPersonalTruckNum";
	/**
	 * 发送异常日志
	 */
	public static final String SEND_CRASH_LOG="system/saveLog";
}
